package com.zhentao.pojo;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import java.util.Date;

@Document(collection = "zk_mongodb")
@Data
public class ApUserSearch {
    @Id
    private String id;
    private String userId;
    private String keyword;
    private Date createdTime;
    private String _class;

    // getters and setters
//    public String getId() { return id; }
//    public void setId(String id) { this.id = id; }
//    public String getUserId() { return userId; }
//    public void setUserId(String userId) { this.userId = userId; }
//    public String getKeyword() { return keyword; }
//    public void setKeyword(String keyword) { this.keyword = keyword; }
//    public Date getCreatedTime() { return createdTime; }
//    public void setCreatedTime(Date createdTime) { this.createdTime = createdTime; }
//    public String get_class() { return _class; }
//    public void set_class(String _class) { this._class = _class; }
} 